package com.tarena.lbs.basic.web.mapper;

import com.tarena.lbs.pojo.basic.dos.StoreDO;
import com.tarena.lbs.pojo.basic.query.AreaStoreQuery;
import com.tarena.lbs.pojo.basic.query.StoreQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StoreMapper {
    List<StoreDO> selectStoresByPage(StoreQuery query);

    void insertDb(StoreDO storeDO);

    List<StoreDO> selectStoreByAreasAndBusiness(@Param("adminId")Integer id, @Param("query")AreaStoreQuery query);
}
